<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@ taglib prefix="s" uri="/struts-tags"%>

<!-- file location  frontend/template/html/product/FilterByLocation.jsp -->

<s:if test="%{iscategory == true}">
<div class="city_result">

			<p class="brd_crm"><s:iterator value="path">
						<a href="search?searchkey=${value}">${value}</a>&rsaquo;&rsaquo;
				</s:iterator>
			</p>
         	<!-- sub category here -->
			<s:set name="counter" value="0"/>
			<s:if test="subCateegory.size() > 0">
				<s:iterator value="subCateegory" var="cate">
					<s:set name="tmpcount" value ="%{#counter%3}"/>
					<s:if test="%{#tmpcount == 0}">
					  <ul>
					</s:if>
						<li><a href="search?searchkey=${key.name}">${key.name} (${value})</a></li>
					<s:set name="counter" value ="%{#counter + 1}"/>
					<s:set name="tmpcount" value ="%{#counter%3}"/>
					<s:if test="%{#tmpcount == 0}">
					  </ul>
					</s:if>

				</s:iterator>
			</s:if>

        </div>
        <div class="refined_search_box">
          <div class="show"><span>Show</span>
            <select name="" class="show_dd">
              <option>Any</option>
            </select>
          </div>
          <div class="sort_prop_by"> <span>Sort Properties By:</span>
            <select name="" class="sort_dd">
              <option>Vacationmoves</option>
            </select>
          </div>
          <div class="compare_select"><a href="#">Compare Selected</a></div>
        </div>
</s:if>